package com.authManager.entity;

import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * <p>
 * 【用户信息】实体类
 * </p>
 *
 * @author 小旋风
 * @since 2018-8-10
 */
@TableName("sys_user")
@ApiModel(description="用户信息")
public class SysUser  implements Serializable{
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id   改成字符串类型
	 */
	@ApiModelProperty(value = "主键id   改成字符串类型")
    @TableId(value="sys_user_id", type= IdType.AUTO)
    private String sysUserId;
	/**
	 * 用户名
	 */
	@ApiModelProperty(value = "用户名")
    @TableField(value="name")
    private String name;
	/**
	 * 手机号
	 */
	@ApiModelProperty(value = "手机号")
    @TableField(value="phone")
    private String phone;
	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人")
    @TableField(value="creater")
    private String creater;
	/**
	 * 创建日期
	 */
	@ApiModelProperty(value = "创建日期")
    @TableField(value="create_time")
    private Date createTime;
	/**
	 * 修改人
	 */
	@ApiModelProperty(value = "修改人")
    @TableField(value="updater")
    private String updater;
	/**
	 * 修改时间
	 */
	@ApiModelProperty(value = "修改时间")
    @TableField(value="update_time")
    private Date updateTime;
	
	public String getSysUserId() {
		return this.sysUserId;
	}
	
	public SysUser setSysUserId(String sysUserId) {
		this.sysUserId = sysUserId;
		return this;
	}

	public String getName() {
		return this.name;
	}
	
	public SysUser setName(String name) {
		this.name = name;
		return this;
	}

	public String getPhone() {
		return this.phone;
	}
	
	public SysUser setPhone(String phone) {
		this.phone = phone;
		return this;
	}

	public String getCreater() {
		return this.creater;
	}
	
	public SysUser setCreater(String creater) {
		this.creater = creater;
		return this;
	}

	public Date getCreateTime() {
		return this.createTime;
	}
	
	public SysUser setCreateTime(Date createTime) {
		this.createTime = createTime;
		return this;
	}

	public String getUpdater() {
		return this.updater;
	}
	
	public SysUser setUpdater(String updater) {
		this.updater = updater;
		return this;
	}

	public Date getUpdateTime() {
		return this.updateTime;
	}
	
	public SysUser setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
		return this;
	}

}